package com.jee.servlet;

import javax.servlet.ServletConfig;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;

public class InitServlet extends HttpServlet{

	private static final long serialVersionUID = 1L;

	@Override
	public void init(ServletConfig config) throws ServletException {
		System.out.println("------------------load-on-startup start--------------");
		String info = config.getInitParameter("info");
		System.out.println("load-on-startup: "+info);
		super.init(config);
	}
}
